import api from '../api.js'
export default {
  configList (params) {
    return api.fetchGet('/score/deduct/config/pageList.do', params);
  },
  configDisable (params) {
    return api.fetchPost('/score/deduct/config/disable.do', params);
  },
  configEnable(params) {
    return api.fetchPost('/score/deduct/config/enable.do', params);
  },
  configDel(params) {
    return api.fetchPost('/score/deduct/config/delete.do', params);
  },
  configAdd(params) {
    return api.fetchPost('/score/deduct/config/add.do', params);
  },
  configEdit(params) {
    return api.fetchPost('/score/deduct/config/edit.do', params);
  },
}